package org.jcut.service;

import java.util.List;

import org.jcut.bean.User;

public interface UserService {
	int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User login(User user);
    
    List<User>selectAll(User user);
    
    long checkExsit(String username);
    
    int updateDis(User user);

	User selectBytel(String username);
}
